using System;
using System.Collections.Generic;
using System.Text;
using MaskData;

namespace DBProxy
{
	public class QueryNode
	{
		private List<ElementType> _Types;
		private readonly ITypesReader _reader;

		public QueryNode(ITypesReader typeReader)
		{
			_reader = typeReader;
			_Types = typeReader.GetNodeTypes();
		}
		public List<ElementType> GetNodeTypes()
		{
			return _Types;
		}

		public List<ElementType> GetNodeTypesById(String nodeId)
		{
			return _reader.GetNodeTypesByID(nodeId);
		}

	}
}
